package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.pojo.MarketAftersale;
import com.cskaoyan.bean.pojo.MarketOrderGoods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 微信小程序前端订单售后详情
 *
 * @author chenxu
 * @since 2022/04/11 16:48
 */
@NoArgsConstructor
@Data
public class AfterSaleDetailVO {

    private List<MarketOrderGoods> orderGoods;
    private MarketAftersale aftersale;
    private OrderDTO order;


    @NoArgsConstructor
    @Data
    @AllArgsConstructor
    public static class OrderDTO {
        private int id;
        private int userId;
        private String orderSn;
        private Short orderStatus;
        private Short aftersaleStatus;
        private String consignee;
        private String mobile;
        private String address;
        private String message;
        private BigDecimal goodsPrice;
        private BigDecimal freightPrice;
        private BigDecimal couponPrice;
        private BigDecimal integralPrice;
        private BigDecimal grouponPrice;
        private BigDecimal orderPrice;
        private BigDecimal actualPrice;
        private String shipSn;
        private String shipChannel;
        private Date shipTime;
        private Date confirmTime;
        private Short comments;
        private Date endTime;
        private Date addTime;
        private Date updateTime;
        private boolean deleted;
    }

}
